import java.util.Scanner;//导入Scanner键盘录入
class WY {
    public static void main(String[] args){//main方法
        Scanner sne = new Scanner(System.in);//键盘录入
            System.out.println("请输入编号：");//输出基信息
            System.out.println("1.姓名");
            System.out.println("2.学号");
            System.out.println("3.年龄");
            System.out.println("4.金额");
            System.out.println("5.电话");
            System.out.println("6.婚否");
            System.out.println("7.退出程序");
        while(true){//while循环
            int nub = sne.nextInt();//定义键盘录入的值
            if(nub == 1){//if判断
            System.out.println("吾名：迷死她胡伯冰");
        }else if(nub == 2){
            System.out.println("202303230230");
        }else if(nub == 3){
            System.out.println("刚满20");
        }else if(nub == 4){
            System.out.println("先弄它个一个亿");
        }else if(nub == 5){
            System.out.println("13577775551");
        }else if(nub == 6){
            System.out.println("夏家三千金");
        }else if(nub == 7){
            break;//跳出循环，代码结束
        }else{//错误提示
            System.out.println("请输入正确的编号：");
        }
        }
        
            
    }
}

